package com.hand.springboot.repository;

import com.hand.springboot.entity.student;

import java.util.Collection;
import java.util.Collections;
import java.util.List;



/**
 * @ Description   :  student资源库
 * @ Author        :  xiong.yilin@hand-china.com
 * @ CreateDate    :  2019/8/8 19:47
 */
public interface StudentRepository {
    public Collection<student> findAll();
    public student findById(long id);
    public void saveOrUpdate(student s);
    public void deleteById(long id);
}
